package cn.declare.service.impl;

import cn.declare.bean.Performance;
import cn.declare.dao.PerformanceDao;
import cn.declare.service.PerformanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PerformanceServiceImpl implements PerformanceService {
//
    @Autowired
    private PerformanceDao performanceDao;
    @Override
    public List<Performance> getPerformanceList() {
        return performanceDao.getPerformanceList();
    }

    @Override
    public int updatePerformance(Performance performance) {
        return performanceDao.updatePerformance(performance);
    }
}
